/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.creatjobmanage.entity;

import com.lczyfz.campusinfo.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 自带项目Entity
 * @author zms
 * @version 2018-04-04
 */
public class CreatJobProject extends DataEntity<CreatJobProject> {
	
	private static final long serialVersionUID = 1L;
	private String upId;		// 提交者id
	private String projectName;		// 项目名称
	private String projectContent;		// 项目内容
	private String partner;		// 合作伙伴
	private String individualownfunds;		// 个人自有资金
	private String personalneedloan;		// 个人需要贷款
	private Date beginCreateDate;		// 开始 提交时间
	private Date endCreateDate;		// 结束 提交时间
	private String partContent;
	private String enrollStatus;
	private  String stuId;
	private String username;
	public String getEnrollStatus() {
		return enrollStatus;
	}

	public void setEnrollStatus(String enrollStatus) {
		this.enrollStatus = enrollStatus;
	}
	public String getPartContent() {
		return partContent;
	}

	public void setPartContent(String partContent) {
		this.partContent = partContent;
	}

	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public CreatJobProject() {
		super();
	}

	public CreatJobProject(String id){
		super(id);
	}

	@Length(min=1, max=64, message="提交者id长度必须介于 1 和 64 之间")
	public String getUpId() {
		return upId;
	}

	public void setUpId(String upId) {
		this.upId = upId;
	}
	
	@Length(min=0, max=64, message="项目名称长度必须介于 0 和 64 之间")
	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	
	@Length(min=0, max=255, message="项目内容长度必须介于 0 和 255 之间")
	public String getProjectContent() {
		return projectContent;
	}

	public void setProjectContent(String projectContent) {
		this.projectContent = projectContent;
	}
	
	@Length(min=0, max=64, message="合作伙伴长度必须介于 0 和 64 之间")
	public String getPartner() {
		return partner;
	}

	public void setPartner(String partner) {
		this.partner = partner;
	}
	
	@Length(min=0, max=64, message="个人自有资金长度必须介于 0 和 64 之间")
	public String getIndividualownfunds() {
		return individualownfunds;
	}

	public void setIndividualownfunds(String individualownfunds) {
		this.individualownfunds = individualownfunds;
	}
	
	@Length(min=0, max=64, message="个人需要贷款长度必须介于 0 和 64 之间")
	public String getPersonalneedloan() {
		return personalneedloan;
	}

	public void setPersonalneedloan(String personalneedloan) {
		this.personalneedloan = personalneedloan;
	}
	
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}
	
	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
		
}